<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>留言列表</title>
    <link rel="stylesheet" href="style.css" type="text/css">
  </head>
  <body>
    <div id="app" v-cloak style="width: 500px; margin: 0 auto;">
      <div class="message">
        <v-input v-model="username"></v-input>
        <v-textarea v-model="message" ref="message"></v-textarea>
        <button @click="handleSend">发布</button>
        <list :list="list" @reply="handleReply"></list>
      </div>
    </div>
    <script src="https://unpkg.com/vue/dist/vue.min.js"></script>
    <script src="input.js"></script>
    <script src="list.js"></script>
    <script src="index.js"></script>
  </body>
</html>